YAHOO.dasBrowser.genome.request.doAtTheEndOfLoading = function(){
	//YAHOO.dasBrowser.genome.view.copyNumber.start();
	//alert(YAHOO.dasBrowser.genome.karyotypeStructure.karyotype.chromosomeConf.selectedChromosome);
	//alert(YAHOO.dasBrowser.genome.karyotypeStructure.karyotype.zoomConf.defaultValues.length);
	var zoom = YAHOO.dasBrowser.genome.karyotypeStructure.karyotype.zoomConf.defaultValues;
	if(zoom.length == 3){
		var selectedChromosome = "chromosome" + zoom[0];
		YAHOO.dasBrowser.genome.karyotypeStructure.karyotype.chromosomeConf.selectedChromosome = selectedChromosome;
		YAHOO.dasBrowser.genome.karyotypeStructure.karyotype.redrawZoom(
			selectedChromosome,
			zoom[1],
			zoom[2]
		);
	}	
}


